package com.apps.java.javanote02;

public class MyRunnable implements Runnable{

    public MyRunnable(){
        super();
    }

    @Override
    public synchronized void run() {
        for(int i=0 ; i<100 ; i++){
            System.out.println(Thread.currentThread().getName() +":" +  i);
        }
    }
}
